home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / smail-3.1.28 / samples / queryprog / routers < prev    next >
Encoding:
Text File  |  1990-10-23  |  542 b   |  15 lines

  1. # @(#)samples/queryprog/routers    1.2 10/24/90 05:21:28
  2.  
  3. # This router file defines one router which calls upon a shell script to
  4. # match remote hosts.  To use this router, insert it into a complete
  5. # router file where appropriate and copy the file query.sh into the smail
  6. # configuration file directory.
  7.  
  8. # use query.sh to match hosts
  9. use_query:
  10.     driver = queryprogram,        # query a program for route info
  11.     transport = uux;        # use this as a default
  12.  
  13.     cmd = "/bin/sh $smail_lib_dir/query.sh ${lc:host}",
  14.     domain = uucp, read_transport, read_path
  15.